#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Models.Marketmodels.Models
{
     
    [Guid ("DE2107D3-C50F-455e-B7A7-8C6F9D27F3C9"),ComVisible(true)]
	public interface IAlphaFinder 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Boolean Solve(Double alpha0, Int32 stepindex, Cephei.IVector<Double> rateonevols, Cephei.IVector<Double> ratetwohomogeneousvols, Cephei.IVector<Double> correlations, Double w0, Double w1, Double targetVariance, Double tolerance, Double alphaMax, Double alphaMin, Int32 steps, Double alpha, Double a, Double b, Cephei.IVector<Double> ratetwovols);
        
		 Boolean SolveWithMaxHomogeneity(Double alpha0, Int32 stepindex, Cephei.IVector<Double> rateonevols, Cephei.IVector<Double> ratetwohomogeneousvols, Cephei.IVector<Double> correlations, Double w0, Double w1, Double targetVariance, Double tolerance, Double alphaMax, Double alphaMin, Int32 steps, Double alpha, Double a, Double b, Cephei.IVector<Double> ratetwovols);
    }

    // <summary> 
	//  Factory
	// </summary>
   	[ComVisible(true)]
    public interface IAlphaFinder_Factory // : Collection_Factory<IAlphaFinder, ICell<IAlphaFinder>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IAlphaFinder Create (Cephei.QL.Models.Marketmodels.Models.IAlphaForm parametricform);
    }
}

